//
//  GetView.m
//  WalletAPP
//
//  Created by 罗弟祥 on 2019/10/4.
//  Copyright © 2019 罗弟祥. All rights reserved.
//

#import "GetView.h"

@implementation GetView


- (IBAction)click:(UIButton *)sender {
    if (self.cellBlock) {
        self.cellBlock();
    }
}


-(void)layoutSubviews{
    self.bView.layer.cornerRadius = 10;
    self.bView.clipsToBounds = YES;
    _bView.layer.shadowColor = [UIColor lightGrayColor].CGColor;
    // 设置阴影偏移量
    _bView.layer.shadowOffset = CGSizeMake(5,5);
    // 设置阴影透明度
    _bView.layer.shadowOpacity = 1;
    // 设置阴影半径
    _bView.layer.shadowRadius = 5;
    _bView.clipsToBounds = NO;
    
    
    //    self.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0];
    self.copysBtn.layer.cornerRadius = 20;
    self.copysBtn.clipsToBounds = YES;
    self.copysBtn.layer.shadowColor = [UIColor lightGrayColor].CGColor;
    // 设置阴影偏移量
    self.copysBtn.layer.shadowOffset = CGSizeMake(5,5);
    // 设置阴影透明度
    self.copysBtn.layer.shadowOpacity = .8;
    // 设置阴影半径
    self.copysBtn.layer.shadowRadius = 3;
    self.copysBtn.clipsToBounds = NO;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
